#!/bin/bash

#实时处理 tag_result 表
sh /home/marvin/realtime_job/sql/select/tag_result_select.sh  |awk -F '\t' -f /home/marvin/realtime_job/awk/tag_result.awk >/home/marvin/realtime_job/sql/replace/tag_result_replace.sql
mysql -uroot  -proot </home/marvin/realtime_job/sql/replace/tag_result_replace.sql

mysql -uroot  -proot -e "replace into result.res_update(res_table) VALUES('tag_result')"
